Store adapter — SPS Commerce¶
The adapter
object contains properties for connecting to the SPS Commerce API.
Parent object: a store with property "platform" : "sps_commerce"
Required properties¶
The following adapter
properties are required for SPS Commerce stores.
password
¶
Property | password |
---|---|
Name | SPS Commerce SFTP Password |
Data type | string |
Required? | Yes |
trading_partner_id
¶
Property | trading_partner_id |
---|---|
Name | Vendor Trading Partner ID |
Data type | string |
Required? | Yes |
username
¶
Property | username |
---|---|
Name | SPS Commerce SFTP Username |
Data type | string |
Required? | Yes |
Example¶
Example: create a new SPS Commerce store
curl -X POST \
-H "Authorization: Bearer $JWT_TOKEN" \
-H "Content-Type: application/json" \
https://api.getdropstream.com/stores \
-d @- <<EOF
{ "customer_id": "3775",
"name": "Your SPS Commerce Store",
"platform": "sps_commerce",
"adapter": {
"username": "abc123",
"password": "abc123",
"trading_partner_id": "abc123"
}
}
EOF
For details about this request type, see: Create a new store.